﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Commision.aspx.cs" Inherits="admin_Commision" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>

<%@ Register Assembly="DevExpress.Web.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxNavBar" TagPrefix="dxnb" %>
<%@ Register Assembly="DevExpress.Web.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxMenu" TagPrefix="dxm" %>
<%@ Register Assembly="DevExpress.Web.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxNewsControl" TagPrefix="dxnc" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Admin</title>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

</head>
<body>
 <form id="form1" runat="server">

      <table width="718" border="0" align="center" cellpadding="0" cellspacing="15" style="background-color:#666666" >
  <!--DWLayoutTable-->

  
  <tr>
    <td height="97" colspan="2" valign="middle" style="background:#000000 url(../image/blackgloss_shine.gif) no-repeat 0 0" align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="468" height="60">
      <param name="movie" value="../image/banner.swf" />
      <param name="quality" value="high" />
      <embed src="../image/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="468" height="60"></embed>
    </object></td>
  </tr>
  <tr>
    <td width="30%" height="453" valign="middle" style="background:#000000 url(../image/blackgloss_shine.gif) no-repeat 0 0">&nbsp;
    
    <dxnb:ASPxNavBar ID="ASPxNavBar1" runat="server" EnableAnimation="True" BackColor="Black" ForeColor="DarkKhaki">
            <Groups>
                <dxnb:NavBarGroup NavigateUrl="../chat/chat.aspx" Text="Chat với tư vấn vi&#234;n">
                </dxnb:NavBarGroup>
                <dxnb:NavBarGroup Name="groupUser" Text="Quản l&#253; người d&#249;ng">
                    <Items>
                        <dxnb:NavBarItem NavigateUrl="EditProfileUser.aspx" Text="Sửa th&#244;ng tin ">
                        </dxnb:NavBarItem>
                        <dxnb:NavBarItem NavigateUrl="ResetPasswordUser.aspx" Text="Kh&#244;i phục password">
                        </dxnb:NavBarItem>
                        <dxnb:NavBarItem NavigateUrl="DisableUser.aspx" Text="Kiểm so&#225;t quyền">
                        </dxnb:NavBarItem>
                    </Items>
                </dxnb:NavBarGroup>
                <dxnb:NavBarGroup Name="groupAccount" Text="Quản l&#253; t&#224;i khoản">
                    <Items>
                        <dxnb:NavBarItem NavigateUrl="UpdateAccount.aspx" Text="Cập nhật t&#224;i khoản">
                        </dxnb:NavBarItem>
                    </Items>
                </dxnb:NavBarGroup>
                <dxnb:NavBarGroup Name="GroupCard" Text="Quản l&#253; thẻ trả trước">
                    <Items>
                        <dxnb:NavBarItem NavigateUrl="AddPrePaidCard.aspx" Text="Th&#234;m ">
                        </dxnb:NavBarItem>
                        <dxnb:NavBarItem NavigateUrl="EditPrepPaidCard.aspx" Text="Sửa">
                        </dxnb:NavBarItem>
                    </Items>
                </dxnb:NavBarGroup>
                <dxnb:NavBarGroup Name="groupNews" Text="Quản l&#253; tin tức">
                    <Items>
                        <dxnb:NavBarItem NavigateUrl="AddNews.aspx" Text="Th&#234;m">
                        </dxnb:NavBarItem>
                        <dxnb:NavBarItem NavigateUrl="ManageNews.aspx?do=view" Text="Sửa / X&#243;a ">
                        </dxnb:NavBarItem>
                    </Items>
                </dxnb:NavBarGroup>
                <dxnb:NavBarGroup Name="groupCousellor" Text="Quản l&#253; nội dung tư vấn">
                    <Items>
                        <dxnb:NavBarItem NavigateUrl="ViewDetailContent.aspx" Text="Xem chi tiết">
                        </dxnb:NavBarItem>
                    </Items>
                </dxnb:NavBarGroup>
                <dxnb:NavBarGroup Text="Quản l&#253; Category">
                    <Items>
                        <dxnb:NavBarItem NavigateUrl="AddCategory.aspx" Text="Th&#234;m">
                        </dxnb:NavBarItem>
                        <dxnb:NavBarItem NavigateUrl="EditCategory.aspx" Text="Sửa">
                        </dxnb:NavBarItem>
                        <dxnb:NavBarItem NavigateUrl="DeleteCategory.aspx" Text="X&#243;a">
                        </dxnb:NavBarItem>
                    </Items>
                </dxnb:NavBarGroup>
                <dxnb:NavBarGroup Text="Quản l&#253; comment">
                    <Items>
                        <dxnb:NavBarItem NavigateUrl="DeleteComment.aspx" Text="X&#243;a">
                        </dxnb:NavBarItem>
                    </Items>
                </dxnb:NavBarGroup>
                <dxnb:NavBarGroup Text="Quản l&#253; feedback">
                    <Items>
                        <dxnb:NavBarItem NavigateUrl="ViewFeedBack.aspx" Text="Xem">
                        </dxnb:NavBarItem>
                        <dxnb:NavBarItem NavigateUrl="AnswerFeedBack.aspx" Text="trả lời">
                        </dxnb:NavBarItem>
                    </Items>
                </dxnb:NavBarGroup>
                <dxnb:NavBarGroup NavigateUrl="AdminReport.aspx" Text="B&#225;o c&#225;o doanh thu">
                </dxnb:NavBarGroup>
                <dxnb:NavBarGroup Text="Cấu h&#236;nh">
                    <Items>
                        <dxnb:NavBarItem NavigateUrl="Commision.aspx" Text="Cấu h&#236;nh % được hưởng">
                        </dxnb:NavBarItem>
                    </Items>
                </dxnb:NavBarGroup>
            </Groups>
        <GroupHeaderStyle BackColor="MidnightBlue" ForeColor="Lime">
        </GroupHeaderStyle>
        <ItemStyle BackColor="Black" HorizontalAlign="Center" />
        </dxnb:ASPxNavBar>    
		</td>
        
    
    <td width="70%" style="background:#000000 url(../image/blackgloss_shine.gif) no-repeat 0 0" align="center" valign="top"> 
                   
      
         <fieldset  style="border-color:White;border-bottom-width:thick">
          <legend style="color: white;" > Hoa hồng được hưởng:&nbsp;</legend>
        <table width="90%">
       
           
            <tr>
                <td style="width: 757px">
                </td>
                <td style="width: 91px; color: white;">
                    <asp:TextBox ID="commisionTextbox" runat="server" Width="53px" MaxLength="3" EnableViewState="False"></asp:TextBox>%</td>
                <td style="width: 446px">
                    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="commisionTextbox"
                        ErrorMessage="* Bắt Buộc phải nhập số >=0 và <=100" MinimumValue="0" Width="182px" MaximumValue="100" SetFocusOnError="True" Type="Integer"></asp:RangeValidator></td>
            </tr>
            <tr>
                <td style="width: 757px">
                </td>
                <td style="width: 91px" align="left">
                    <asp:Button ID="Submit" runat="server" OnClick="Submit_Click" Text="Sửa " Width="121px" /></td>
                <td style="width: 446px">
                    <dxe:ASPxLabel ID="thongbao" runat="server" CssFilePath="~/App_Themes/Glass/{0}/styles.css"
                        CssPostfix="Glass" ForeColor="White" Width="127px">
                    </dxe:ASPxLabel>
                </td>
            </tr>
             
        </table>
</fieldset>
   </td>

    
    </tr>
       <tr>
    <td  colspan="2" valign="middle" style="background:#000000 url(../image/blackgloss_shine.gif) no-repeat 0 0;color:White" align="center">
    Ngô Đan Quang - Aptechite - QnA C0512M
    </td>
  </tr>   
    </table>
    </form>
    </body></html>